﻿using SuperJoe.Framework.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WWX.MemberPortal.Web
{
    public class ContextResolver : IContextResolver
    {
        private static readonly string context_name = "superjoecontext";
        public SuperJoeContext Context
        {
            get
            {
                return HttpContext.Current.Items[context_name] as SuperJoeContext;
            }

            set
            {
                HttpContext.Current.Items[context_name] = value;
            }
        }
    }
}